-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add NRF Consumer support OAuth2 #18
Conversation
@@ -34,16 +34,17 @@ func BuildNFInstance(ausfContext *ausf_context.AUSFContext) (profile models.NfPr | |||
} | |||
|
|||
// func SendRegisterNFInstance(nrfUri, nfInstanceId string, profile models.NfProfile) (resouceNrfUri string, | |||
// retrieveNfInstanceID string, err error) { | |||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why add this line?
internal/sbi/producer/functions.go
Outdated
@@ -135,7 +135,8 @@ func EapEncodeAttribute(attributeType string, data string) (string, error) { | |||
} | |||
|
|||
// func eapAkaPrimePrf(ikPrime string, ckPrime string, identity string) (K_encr string, K_aut string, K_re string, | |||
// MSK string, EMSK string) { | |||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why add this line?
@@ -82,7 +82,8 @@ func HandleUeAuthPostRequest(request *httpwrapper.Request) *httpwrapper.Response | |||
} | |||
|
|||
// func UeAuthPostRequestProcedure(updateAuthenticationInfo models.AuthenticationInfo) ( | |||
// response *models.UeAuthenticationCtx, locationURI string, problemDetails *models.ProblemDetails) { | |||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why add this line?
Description
This pull request enables AUSF to use NRF services through the OAuth2 service authorization.
Note
Config must add
nrfCertPem